﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SMSDemo
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnSend_Click(object sender, EventArgs e)
        {
            Response.Redirect("sendsms.aspx?number=" + txtNumber.Text + "&message=" + txtMessage.InnerText
                              + "&owner=" + txtOwner.Text);
        }

        protected void btnReset_Click(object sender, EventArgs e)
        {
            txtOwner.Text = "";
            txtNumber.Text = "";
            txtMessage.InnerText = "";

            Response.Redirect("http://www.uit.edu.vn");
        }
    }
}
